<template>
    <div class='file-management'>
        <FileForm></FileForm>
        <FileTable></FileTable>
    </div>
</template>
<script lang="ts" setup>
import FileForm from '@/components/Admin/Main/FileManagement/FileForm/FileForm.vue';
import FileTable from '@/components/Admin/Main/FileManagement/FileTable/FileTable.vue';
import { useStore } from 'vuex';

const store = useStore();
// store.commit('admin/fileManagement/_updateFileTreeToDB')
// store.commit('admin/fileManagement/_getFileList');
store.commit('admin/fileManagement/_getFileCount');
store.commit('admin/fileManagement/_getAndUpdateFileList');
store.commit('admin/fileManagement/_getFileTreeAndSetPathOpts');

</script>
<style scoped lang='less'></style>